arm: correct vfp save/restore asm constraints
authorIan Campbell <ian.campbell@citrix.com>
Wed, 10 Jul 2013 10:54:00 +0000 (12:54 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 10 Jul 2013 10:54:00 +0000 (12:54 +0200)
commit74d57ce43b2266b274ad89189ca3280c1e286883
treee58751cfac456debbe2ac2bccc2a3ec7ec9039af
parent1d75c9148c3de27a0a2ca94740f04bf501fc6daf
arm: correct vfp save/restore asm constraints

Some versions of gcc complain:
> vfp.c: In function 'vfp_restore_state':
> vfp.c:45:27: error: memory input 0 is not directly addressable
> vfp.c:51:31: error: memory input 0 is not directly addressable

There is no way to express the constraint we want (which is the address of the
array, clobbering the whole array). Therefore we have to fake it up by using
two constraints.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Will.Deacon@arm.com
Acked-by: Julien Grall <julien.grall@linaro.org>
xen/arch/arm/arm32/vfp.c